<template>
    <h1>{{ msg }}</h1>
  <!-- <slotCom></slotCom> -->
    <showModalCom></showModalCom>
</template>

<script>
//引入组件
import slotCom from "./components/01组件插槽.vue"
import showModalCom from "./components/03.展示modal组件.vue"
//固定语法,这里就是组件的选项
export default {
    data() {
        return {
            msg: 'app'
        }
    },
    components: {
        slotCom,
        showModalCom
    }
}
</script>